import struct

__author__ = 'andrey'

SSNAME = 'h34sL'

class Record(object):
    def __init__(self, data, offset):
        self._data = struct.unpack_from(self._get_struct_type(), data, offset)
    def _get_struct_type(self):
        return 'L2sh'
    def size(self):
        return self._data[0] + 8
